<?php
$obj= new class{
public $aa="aa";
public $bb="bb4";
public $cc="cc";
protected $no="no";
private $oopp=4;

};
foreach($obj as $k=>$v){
    echo " $k =>($v) \n";
}
